#ifndef _SDK_MEDIA_COMMON_H_
#define _SDK_MEDIA_COMMON_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "InCommon.h"
#include "SdkHardware.h"
#include "SdkMediaInfo.h"

typedef Com_void(*SdkMediaComSetAudio)(Com_u8 v_sta,Com_s32 v_val,Com_u8 g_sta,Com_s32 g_val);
typedef Com_void(*SdkMediaComResetAudio)(Com_void);

Com_void Ext_SdkMediaCom_SetSleepMode(Com_u8 val);
Com_u8 Ext_SdkMediaCom_GetSleepMode(Com_void);
Com_void Ext_SdkMediaCom_SetMicCB(Com_u8 v_sta,Com_s32 v_val,Com_u8 g_sta,Com_s32 g_val);
Com_void Ext_SdkMediaCom_SetMicCBRegister(SdkMediaComSetAudio func);
Com_void Ext_SdkMediaCom_ResetMicCB(Com_void);
Com_void Ext_SdkMediaCom_ResetMicCBRegister(SdkMediaComResetAudio func);
Com_void Ext_SdkMediaCom_SetSpkCB(Com_u8 v_sta,Com_s32 v_val,Com_u8 g_sta,Com_s32 g_val);
Com_void Ext_SdkMediaCom_SetSpkCBRegister(SdkMediaComSetAudio func);
Com_void Ext_SdkMediaCom_ResetSpkCB(Com_void);
Com_void Ext_SdkMediaCom_ResetSpkCBRegister(SdkMediaComResetAudio func);
Com_void Ext_SdkMediaCom_SetIRcutAndIRled(Com_s32 mode);
Com_void Ext_SdkMediaCom_GetMDSnapshot(_OUT Com_ps8 snap_addr,_OUT Com_ps32 snap_size);

#ifdef __cplusplus
}
#endif

#endif
